package com.zyh.test02.service.impl;

import com.zyh.test02.entity.Course;
import com.zyh.test02.mapper.CourseMapper;
import com.zyh.test02.service.CourseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CourseServiceImpl implements CourseService {
    @Autowired
    CourseMapper courseMapper;
    @Override
    public Course getCourseByCId(String cid) {
        return courseMapper.selByCId(cid);
    }
}
